package lab03.test06;

public class Lader {
    double top,bottom,high,area;
    Lader(double a,double b,double c){
        top=a;
        bottom=b;
        high=c;
    }
    double getArea(){
        area=(top+bottom)*high/2;
        return area;
    }
}
